home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / queries / pgetinknd.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  790b  |  31 lines

  1. /*
  2.  *--- PGetInkND.cpp -------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetInkND.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetInkND.h"
  12. #include "PQuery.h"
  13. #include "PRequestBuf.h"
  14. #include "PReplyBuf.h"
  15.  
  16. PGetInkND::PGetInkND(const char * sName)
  17. : PHandleQuery()
  18. {
  19.     PRequestBuf request(strlen(sName) + 3);
  20.     
  21.     request << sName;
  22.  
  23.     PQuery query(pm_getinknd, request, itsHandle);
  24.     InitHandle();
  25.  
  26.     PReplyBuf reply(replyPtr);
  27.     reply >> cKind >> dNDValue;
  28. }
  29.  
  30. // end of PGetInkND.cpp
  31.